import { useMemo } from "react";

import { SvgProps } from "./";

/** 我的 界面我的题库部分的 icon */
export default function Deck({ className, onClick }: SvgProps) {
  return useMemo(
    () => (
      <svg
        className={className}
        viewBox="0 0 1024 1024"
        version="1.1"
        xmlns="http://www.w3.org/2000/svg"
        p-id="27892"
        onClick={onClick}
      >
        <path
          d="M317.3376 208.22016h459.63264c38.89152 0 70.69696 32.21504 70.69696 71.59808v540.54912l-84.84864 68.01408H317.3376c-38.912 0-70.71744-32.21504-70.71744-71.59808V279.81824c0-39.38304 31.82592-71.59808 70.71744-71.59808z"
          fill="#549E42"
          p-id="27893"
          data-spm-anchor-id="a313x.7781069.0.i17"
          opacity=".4"
          className="primary-l-fill"
        ></path>
        <path
          d="M688.57856 934.912c-14.15168 0-28.30336-10.73152-28.30336-28.63104V763.0848c0-35.79904 28.30336-64.43008 63.65184-64.43008h141.4144c14.1312 0 28.28288 10.73152 28.28288 28.63104 0 17.89952-10.58816 28.65152-28.2624 28.65152h-141.43488c-3.54304 0-7.0656 3.584-7.0656 7.168v143.17568c0 14.336-14.1312 28.63104-28.28288 28.63104zM398.66368 315.61728h88.3712c14.15168 0 28.30336 11.53024 28.30336 30.72 0 15.36-10.60864 30.72-28.30336 30.72h-88.3712c-17.69472-3.82976-28.28288-15.36-28.28288-34.54976 0-15.36 10.58816-26.89024 28.2624-26.89024z m0 161.09568h229.80608c14.1312 0 28.2624 11.50976 28.2624 30.72 0 15.36-10.58816 30.72-28.2624 30.72H398.66368c-14.1312 0-28.28288-11.53024-28.28288-30.72 0-19.21024 10.58816-30.72 28.2624-30.72z"
          p-id="27895"
          data-spm-anchor-id="a313x.7781069.0.i15"
          className="primary-l-fill"
        ></path>
        <path
          d="M674.42688 942.08H264.2944C186.53184 942.08 122.88 877.64992 122.88 798.88384V226.11968C122.88 147.37408 186.53184 82.944 264.2944 82.944h495.0016c77.76256 0 141.4144 64.43008 141.4144 143.17568v504.75008c0 42.96704-17.67424 85.9136-53.0432 110.98112l-84.84864 67.9936C738.07872 931.36896 706.2528 942.08 674.42688 942.08zM264.2944 136.62208c-49.47968 0-88.3712 39.38304-88.3712 89.4976v572.76416c0 50.11456 38.89152 89.4976 88.3712 89.4976h410.13248c21.21728 0 38.912-7.168 56.56576-17.89952l84.86912-67.9936c21.1968-17.92 31.80544-42.96704 31.80544-71.61856V226.11968c0-50.11456-38.89152-89.4976-88.39168-89.4976H264.2944z"
          fill="#2c2c2c"
          p-id="27894"
          data-spm-anchor-id="a313x.7781069.0.i14"
          className="on-bg-l-fill"
        ></path>
      </svg>
    ),
    [onClick]
  );
}
